﻿using System;
using System.Collections.Generic;
using TCKQKL.DAL.IDAL;
using System.Reflection;

namespace TCKQKL.DAL.DataFactory
{
    public class InvestorFactory
    {
        public static TCKQKL.DAL.IDAL.IInvestor Create(string path)
        {
            string className = path + ".Investor";
            return (TCKQKL.DAL.IDAL.IInvestor)Assembly.Load(path).CreateInstance(className);
        }
    }
}
